<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pygccxml.declarations.declaration</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pygccxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://www.language-binding.net">pygccxml</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pygccxml-module.html">Package&nbsp;pygccxml</a> ::
        <a href="pygccxml.declarations-module.html">Package&nbsp;declarations</a> ::
        Module&nbsp;declaration
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pygccxml.declarations.declaration-module.html">Module pygccxml.declarations.declaration</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># Copyright 2004-2008 Roman Yakovenko.</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Distributed under the Boost Software License, Version 1.0. (See</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># accompanying file LICENSE_1_0.txt or copy at</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://www.boost.org/LICENSE_1_0.txt)</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-docstring">defines 2 important classes</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-docstring">This module defines:</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-docstring">* declaration_t - base class for all pygccxml defined classes, which describe</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-docstring">  a C++ declaration</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-docstring">* location_t - provides information about physical location of the declaration</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module pygccxml.declarations.algorithm=pygccxml.declarations.algorithm-module.html"><a title="pygccxml.declarations.algorithm" class="py-name" href="#" onclick="return doclink('link-0', 'algorithm', 'link-0');">algorithm</a></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module pygccxml.declarations.templates=pygccxml.declarations.templates-module.html"><a title="pygccxml.declarations.templates" class="py-name" href="#" onclick="return doclink('link-1', 'templates', 'link-1');">templates</a></tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Module pygccxml.declarations.algorithms_cache=pygccxml.declarations.algorithms_cache-module.html"><a title="pygccxml.declarations.algorithms_cache" class="py-name" href="#" onclick="return doclink('link-2', 'algorithms_cache', 'link-2');">algorithms_cache</a></tt> </tt>
<a name="location_t"></a><div id="location_t-def"><a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt> <a class="py-toggle" href="#" id="location_t-toggle" onclick="return toggle('location_t');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html">location_t</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="location_t-expanded"><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">    <tt class="py-docstring">"""provides information about the location of the declaration within the source file"""</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="location_t.__init__"></a><div id="location_t.__init__-def"><a name="L22"></a><tt class="py-lineno"> 22</tt> <a class="py-toggle" href="#" id="location_t.__init__-toggle" onclick="return toggle('location_t.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">file_name</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">line</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t.__init__-expanded"><a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_file_name</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name" targets="Variable pygccxml.declarations.declaration.location_t.file_name=pygccxml.declarations.declaration.location_t-class.html#file_name,Method pygccxml.msvc.bsc.definition_t.file_name()=pygccxml.msvc.bsc.definition_t-class.html#file_name,Method pygccxml.msvc.bsc_impl_details.definition_t.file_name()=pygccxml.msvc.bsc_impl_details.definition_t-class.html#file_name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-3', 'file_name', 'link-3');">file_name</a></tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line</tt> <tt class="py-op">=</tt> <tt id="link-4" class="py-name" targets="Variable pygccxml.declarations.declaration.location_t.line=pygccxml.declarations.declaration.location_t-class.html#line,Method pygccxml.msvc.bsc.definition_t.line()=pygccxml.msvc.bsc.definition_t-class.html#line,Method pygccxml.msvc.bsc_impl_details.definition_t.line()=pygccxml.msvc.bsc_impl_details.definition_t-class.html#line"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-4', 'line', 'link-4');">line</a></tt> </tt>
</div><a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"> </tt>
<a name="location_t.__eq__"></a><div id="location_t.__eq__-def"><a name="L26"></a><tt class="py-lineno"> 26</tt> <a class="py-toggle" href="#" id="location_t.__eq__-toggle" onclick="return toggle('location_t.__eq__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#__eq__">__eq__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t.__eq__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t.__eq__-expanded"><a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-5', 'line', 'link-4');">line</a></tt> <tt class="py-op">==</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-6', 'line', 'link-4');">line</a></tt> \ </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">               <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-7', 'file_name', 'link-3');">file_name</a></tt> <tt class="py-op">==</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-8', 'file_name', 'link-3');">file_name</a></tt> </tt>
</div><a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"> </tt>
<a name="location_t.__ne__"></a><div id="location_t.__ne__-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <a class="py-toggle" href="#" id="location_t.__ne__-toggle" onclick="return toggle('location_t.__ne__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#__ne__">__ne__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t.__ne__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t.__ne__-expanded"><a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method pygccxml.declarations.calldef.argument_t.__eq__()=pygccxml.declarations.calldef.argument_t-class.html#__eq__,Method pygccxml.declarations.calldef.calldef_t.__eq__()=pygccxml.declarations.calldef.calldef_t-class.html#__eq__,Method pygccxml.declarations.calldef.member_calldef_t.__eq__()=pygccxml.declarations.calldef.member_calldef_t-class.html#__eq__,Method pygccxml.declarations.class_declaration.class_t.__eq__()=pygccxml.declarations.class_declaration.class_t-class.html#__eq__,Method pygccxml.declarations.class_declaration.hierarchy_info_t.__eq__()=pygccxml.declarations.class_declaration.hierarchy_info_t-class.html#__eq__,Method pygccxml.declarations.cpptypes.type_qualifiers_t.__eq__()=pygccxml.declarations.cpptypes.type_qualifiers_t-class.html#__eq__,Method pygccxml.declarations.cpptypes.type_t.__eq__()=pygccxml.declarations.cpptypes.type_t-class.html#__eq__,Method pygccxml.declarations.declaration.declaration_t.__eq__()=pygccxml.declarations.declaration.declaration_t-class.html#__eq__,Method pygccxml.declarations.declaration.location_t.__eq__()=pygccxml.declarations.declaration.location_t-class.html#__eq__,Method pygccxml.declarations.enumeration.enumeration_t.__eq__()=pygccxml.declarations.enumeration.enumeration_t-class.html#__eq__,Method pygccxml.declarations.scopedef.scopedef_t.__eq__()=pygccxml.declarations.scopedef.scopedef_t-class.html#__eq__,Method pygccxml.declarations.typedef.typedef_t.__eq__()=pygccxml.declarations.typedef.typedef_t-class.html#__eq__,Method pygccxml.declarations.variable.variable_t.__eq__()=pygccxml.declarations.variable.variable_t-class.html#__eq__"><a title="pygccxml.declarations.calldef.argument_t.__eq__
pygccxml.declarations.calldef.calldef_t.__eq__
pygccxml.declarations.calldef.member_calldef_t.__eq__
pygccxml.declarations.class_declaration.class_t.__eq__
pygccxml.declarations.class_declaration.hierarchy_info_t.__eq__
pygccxml.declarations.cpptypes.type_qualifiers_t.__eq__
pygccxml.declarations.cpptypes.type_t.__eq__
pygccxml.declarations.declaration.declaration_t.__eq__
pygccxml.declarations.declaration.location_t.__eq__
pygccxml.declarations.enumeration.enumeration_t.__eq__
pygccxml.declarations.scopedef.scopedef_t.__eq__
pygccxml.declarations.typedef.typedef_t.__eq__
pygccxml.declarations.variable.variable_t.__eq__" class="py-name" href="#" onclick="return doclink('link-9', '__eq__', 'link-9');">__eq__</a></tt><tt class="py-op">(</tt> <tt class="py-name">other</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"> </tt>
<a name="location_t.__lt__"></a><div id="location_t.__lt__-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="location_t.__lt__-toggle" onclick="return toggle('location_t.__lt__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#__lt__">__lt__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t.__lt__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t.__lt__-expanded"><a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">,</tt> <tt id="link-10" class="py-name" targets="Class pygccxml.declarations.declaration.location_t=pygccxml.declarations.declaration.location_t-class.html"><a title="pygccxml.declarations.declaration.location_t" class="py-name" href="#" onclick="return doclink('link-10', 'location_t', 'link-10');">location_t</a></tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-11', 'file_name', 'link-3');">file_name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-12', 'line', 'link-4');">line</a></tt> <tt class="py-op">)</tt> <tt class="py-op">&lt;</tt> <tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-13', 'file_name', 'link-3');">file_name</a></tt><tt class="py-op">,</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-14', 'line', 'link-4');">line</a></tt> <tt class="py-op">)</tt> </tt>
</div><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"> </tt>
<a name="location_t._get_file_name"></a><div id="location_t._get_file_name-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="location_t._get_file_name-toggle" onclick="return toggle('location_t._get_file_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#_get_file_name">_get_file_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t._get_file_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t._get_file_name-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_file_name</tt> </tt>
</div><a name="location_t._set_file_name"></a><div id="location_t._set_file_name-def"><a name="L42"></a><tt class="py-lineno"> 42</tt> <a class="py-toggle" href="#" id="location_t._set_file_name-toggle" onclick="return toggle('location_t._set_file_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#_set_file_name">_set_file_name</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_file_name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t._set_file_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t._set_file_name-expanded"><a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_file_name</tt> <tt class="py-op">=</tt> <tt class="py-name">new_file_name</tt> </tt>
</div><a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">    <tt id="link-15" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-15', 'file_name', 'link-3');">file_name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-16" class="py-name" targets="Method pygccxml.declarations.declaration.location_t._get_file_name()=pygccxml.declarations.declaration.location_t-class.html#_get_file_name"><a title="pygccxml.declarations.declaration.location_t._get_file_name" class="py-name" href="#" onclick="return doclink('link-16', '_get_file_name', 'link-16');">_get_file_name</a></tt><tt class="py-op">,</tt> <tt id="link-17" class="py-name" targets="Method pygccxml.declarations.declaration.location_t._set_file_name()=pygccxml.declarations.declaration.location_t-class.html#_set_file_name"><a title="pygccxml.declarations.declaration.location_t._set_file_name" class="py-name" href="#" onclick="return doclink('link-17', '_set_file_name', 'link-17');">_set_file_name</a></tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">                          <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""absolute source file name, type string"""</tt> <tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
<a name="location_t._get_line"></a><div id="location_t._get_line-def"><a name="L47"></a><tt class="py-lineno"> 47</tt> <a class="py-toggle" href="#" id="location_t._get_line-toggle" onclick="return toggle('location_t._get_line');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#_get_line">_get_line</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t._get_line-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t._get_line-expanded"><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line</tt> </tt>
</div><a name="location_t._set_line"></a><div id="location_t._set_line-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <a class="py-toggle" href="#" id="location_t._set_line-toggle" onclick="return toggle('location_t._set_line');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#_set_line">_set_line</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_line</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t._set_line-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t._set_line-expanded"><a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line</tt> <tt class="py-op">=</tt> <tt class="py-name">new_line</tt> </tt>
</div><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">    <tt id="link-18" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-18', 'line', 'link-4');">line</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-19" class="py-name" targets="Method pygccxml.declarations.declaration.location_t._get_line()=pygccxml.declarations.declaration.location_t-class.html#_get_line"><a title="pygccxml.declarations.declaration.location_t._get_line" class="py-name" href="#" onclick="return doclink('link-19', '_get_line', 'link-19');">_get_line</a></tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Method pygccxml.declarations.declaration.location_t._set_line()=pygccxml.declarations.declaration.location_t-class.html#_set_line"><a title="pygccxml.declarations.declaration.location_t._set_line" class="py-name" href="#" onclick="return doclink('link-20', '_set_line', 'link-20');">_set_line</a></tt><tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""line number, type int"""</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line"> </tt>
<a name="location_t.as_tuple"></a><div id="location_t.as_tuple-def"><a name="L53"></a><tt class="py-lineno"> 53</tt> <a class="py-toggle" href="#" id="location_t.as_tuple-toggle" onclick="return toggle('location_t.as_tuple');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.location_t-class.html#as_tuple">as_tuple</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="location_t.as_tuple-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="location_t.as_tuple-expanded"><a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">        <tt class="py-docstring">"""return tuple(self.file_name, self.line)"""</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="pygccxml.declarations.declaration.location_t.file_name
pygccxml.msvc.bsc.definition_t.file_name
pygccxml.msvc.bsc_impl_details.definition_t.file_name" class="py-name" href="#" onclick="return doclink('link-21', 'file_name', 'link-3');">file_name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="pygccxml.declarations.declaration.location_t.line
pygccxml.msvc.bsc.definition_t.line
pygccxml.msvc.bsc_impl_details.definition_t.line" class="py-name" href="#" onclick="return doclink('link-22', 'line', 'link-4');">line</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"> </tt>
<a name="declaration_t"></a><div id="declaration_t-def"><a name="L57"></a><tt class="py-lineno"> 57</tt> <a class="py-toggle" href="#" id="declaration_t-toggle" onclick="return toggle('declaration_t');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html">declaration_t</a><tt class="py-op">(</tt> <tt class="py-base-class">object</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="declaration_t-expanded"><a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">    <tt class="py-docstring">"""base class for all classes that represent a C++ declaration"""</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.__init__"></a><div id="declaration_t.__init__-def"><a name="L60"></a><tt class="py-lineno"> 60</tt> <a class="py-toggle" href="#" id="declaration_t.__init__-toggle" onclick="return toggle('declaration_t.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__init__">__init__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">location</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">is_artificial</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">,</tt> <tt class="py-param">mangled</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">demangled</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">attributes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__init__-expanded"><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt id="link-23" class="py-name" targets="Function pygccxml.declarations.call_invocation.name()=pygccxml.declarations.call_invocation-module.html#name,Variable pygccxml.declarations.calldef.argument_t.name=pygccxml.declarations.calldef.argument_t-class.html#name,Method pygccxml.declarations.container_traits.container_traits_impl_t.name()=pygccxml.declarations.container_traits.container_traits_impl_t-class.html#name,Variable pygccxml.declarations.declaration.declaration_t.name=pygccxml.declarations.declaration.declaration_t-class.html#name,Variable pygccxml.declarations.matchers.declaration_matcher_t.name=pygccxml.declarations.matchers.declaration_matcher_t-class.html#name,Method pygccxml.declarations.pattern_parser.parser_t.name()=pygccxml.declarations.pattern_parser.parser_t-class.html#name,Function pygccxml.declarations.templates.name()=pygccxml.declarations.templates-module.html#name,Method pygccxml.msvc.bsc.instance_t.name()=pygccxml.msvc.bsc.instance_t-class.html#name,Method pygccxml.msvc.bsc_impl_details.instance_t.name()=pygccxml.msvc.bsc_impl_details.instance_t-class.html#name,Variable pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name=pygccxml.msvc.pdb.impl_details.full_name_splitter_t-class.html#name,Variable pygccxml.msvc.pdb.impl_details.name=pygccxml.msvc.pdb.impl_details-module.html#name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-23', 'name', 'link-23');">name</a></tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_location</tt> <tt class="py-op">=</tt> <tt id="link-24" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.location=pygccxml.declarations.declaration.declaration_t-class.html#location,Method pygccxml.msvc.bsc.definition_t.location()=pygccxml.msvc.bsc.definition_t-class.html#location,Method pygccxml.msvc.bsc_impl_details.definition_t.location()=pygccxml.msvc.bsc_impl_details.definition_t-class.html#location"><a title="pygccxml.declarations.declaration.declaration_t.location
pygccxml.msvc.bsc.definition_t.location
pygccxml.msvc.bsc_impl_details.definition_t.location" class="py-name" href="#" onclick="return doclink('link-24', 'location', 'link-24');">location</a></tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_is_artificial</tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.is_artificial=pygccxml.declarations.declaration.declaration_t-class.html#is_artificial"><a title="pygccxml.declarations.declaration.declaration_t.is_artificial" class="py-name" href="#" onclick="return doclink('link-25', 'is_artificial', 'link-25');">is_artificial</a></tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mangled</tt> <tt class="py-op">=</tt> <tt id="link-26" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.mangled=pygccxml.declarations.declaration.declaration_t-class.html#mangled"><a title="pygccxml.declarations.declaration.declaration_t.mangled" class="py-name" href="#" onclick="return doclink('link-26', 'mangled', 'link-26');">mangled</a></tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_demangled</tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.demangled=pygccxml.declarations.declaration.declaration_t-class.html#demangled"><a title="pygccxml.declarations.declaration.declaration_t.demangled" class="py-name" href="#" onclick="return doclink('link-27', 'demangled', 'link-27');">demangled</a></tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attributes</tt> <tt class="py-op">=</tt> <tt id="link-28" class="py-name" targets="Variable pygccxml.declarations.calldef.argument_t.attributes=pygccxml.declarations.calldef.argument_t-class.html#attributes,Variable pygccxml.declarations.declaration.declaration_t.attributes=pygccxml.declarations.declaration.declaration_t-class.html#attributes"><a title="pygccxml.declarations.calldef.argument_t.attributes
pygccxml.declarations.declaration.declaration_t.attributes" class="py-name" href="#" onclick="return doclink('link-28', 'attributes', 'link-28');">attributes</a></tt>         </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_parent</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cache</tt> <tt class="py-op">=</tt> <tt id="link-29" class="py-name"><a title="pygccxml.declarations.algorithms_cache" class="py-name" href="#" onclick="return doclink('link-29', 'algorithms_cache', 'link-2');">algorithms_cache</a></tt><tt class="py-op">.</tt><tt id="link-30" class="py-name" targets="Class pygccxml.declarations.algorithms_cache.declaration_algs_cache_t=pygccxml.declarations.algorithms_cache.declaration_algs_cache_t-class.html"><a title="pygccxml.declarations.algorithms_cache.declaration_algs_cache_t" class="py-name" href="#" onclick="return doclink('link-30', 'declaration_algs_cache_t', 'link-30');">declaration_algs_cache_t</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_compiler</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_partial_name</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">         </tt>
<a name="declaration_t.__str__"></a><div id="declaration_t.__str__-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="declaration_t.__str__-toggle" onclick="return toggle('declaration_t.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__str__-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-docstring">"""Default __str__ method.</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt class="py-docstring">        This version just returns the decl_string and the class.</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-docstring">        Derived classes may override this method to provide more detailed</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"><tt class="py-docstring">        information.</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line"><tt class="py-docstring">        A __str__ method for a declaration should always provide enough</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"><tt class="py-docstring">        information so that it uniquely identifies the declaration and</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"><tt class="py-docstring">        the user is able to find the declaration in his source code.</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt id="link-31" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-31', 'name', 'link-23');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Variable pygccxml.declarations.cpptypes.type_t.decl_string=pygccxml.declarations.cpptypes.type_t-class.html#decl_string,Variable pygccxml.declarations.declaration.declaration_t.decl_string=pygccxml.declarations.declaration.declaration_t-class.html#decl_string"><a title="pygccxml.declarations.cpptypes.type_t.decl_string
pygccxml.declarations.declaration.declaration_t.decl_string" class="py-name" href="#" onclick="return doclink('link-32', 'decl_string', 'link-32');">decl_string</a></tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-33" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-33', 'name', 'link-23');">name</a></tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">==</tt><tt class="py-string">"::"</tt><tt class="py-op">:</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">            <tt id="link-34" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-34', 'name', 'link-23');">name</a></tt> <tt class="py-op">=</tt> <tt id="link-35" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-35', 'name', 'link-23');">name</a></tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">        <tt class="py-comment"># Append the declaration class</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">cls</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">cls</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">==</tt><tt class="py-string">"_t"</tt><tt class="py-op">:</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">            <tt class="py-name">cls</tt> <tt class="py-op">=</tt> <tt class="py-name">cls</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">        <tt class="py-name">cls</tt> <tt class="py-op">=</tt> <tt class="py-name">cls</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt> <tt class="py-string">'_'</tt><tt class="py-op">,</tt> <tt class="py-string">' '</tt> <tt class="py-op">)</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"%s [%s]"</tt><tt class="py-op">%</tt><tt class="py-op">(</tt><tt id="link-36" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-36', 'name', 'link-23');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">cls</tt><tt class="py-op">)</tt> </tt>
</div><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">staticmethod</tt> </tt>
<a name="declaration_t._sorted_list"></a><div id="declaration_t._sorted_list-def"><a name="L94"></a><tt class="py-lineno"> 94</tt> <a class="py-toggle" href="#" id="declaration_t._sorted_list-toggle" onclick="return toggle('declaration_t._sorted_list');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_sorted_list">_sorted_list</a><tt class="py-op">(</tt> <tt class="py-param">some_list</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._sorted_list-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._sorted_list-expanded"><a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">        <tt class="py-docstring">"""implementation details"""</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-name">some_list</tt><tt class="py-op">.</tt><tt class="py-name">sort</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">some_list</tt> </tt>
</div><a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get__cmp__items"></a><div id="declaration_t._get__cmp__items-def"><a name="L99"></a><tt class="py-lineno"> 99</tt> <a class="py-toggle" href="#" id="declaration_t._get__cmp__items-toggle" onclick="return toggle('declaration_t._get__cmp__items');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get__cmp__items">_get__cmp__items</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get__cmp__items-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get__cmp__items-expanded"><a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt class="py-docstring">"""implementation details"""</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-comment">#Every derived class should implement this method. This method should</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-comment">#return a list of items, that should be compared.</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-string">'_get__cmp__items not implemented for class '</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-keyword">raise</tt> <tt class="py-name">NotImplemented</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get__cmp__data"></a><div id="declaration_t._get__cmp__data-def"><a name="L107"></a><tt class="py-lineno">107</tt> <a class="py-toggle" href="#" id="declaration_t._get__cmp__data-toggle" onclick="return toggle('declaration_t._get__cmp__data');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get__cmp__data">_get__cmp__data</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get__cmp__data-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get__cmp__data-expanded"><a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt class="py-docstring">"""implementation details"""</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt id="link-37" class="py-name" targets="Variable pygccxml.parser.project_reader.file_configuration_t.data=pygccxml.parser.project_reader.file_configuration_t-class.html#data"><a title="pygccxml.parser.project_reader.file_configuration_t.data" class="py-name" href="#" onclick="return doclink('link-37', 'data', 'link-37');">data</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt id="link-38" class="py-name"><a title="pygccxml.declarations.algorithm" class="py-name" href="#" onclick="return doclink('link-38', 'algorithm', 'link-0');">algorithm</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Function pygccxml.declarations.algorithm.declaration_path()=pygccxml.declarations.algorithm-module.html#declaration_path,Variable pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.declaration_path=pygccxml.declarations.algorithms_cache.declaration_algs_cache_t-class.html#declaration_path"><a title="pygccxml.declarations.algorithm.declaration_path
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.declaration_path" class="py-name" href="#" onclick="return doclink('link-39', 'declaration_path', 'link-39');">declaration_path</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.parent=pygccxml.declarations.declaration.declaration_t-class.html#parent"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-40', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-41', 'name', 'link-23');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.location
pygccxml.msvc.bsc.definition_t.location
pygccxml.msvc.bsc_impl_details.definition_t.location" class="py-name" href="#" onclick="return doclink('link-42', 'location', 'link-24');">location</a></tt> <tt class="py-op">]</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt id="link-43" class="py-name"><a title="pygccxml.parser.project_reader.file_configuration_t.data" class="py-name" href="#" onclick="return doclink('link-43', 'data', 'link-37');">data</a></tt><tt class="py-op">.</tt><tt class="py-name">extend</tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get__cmp__items</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-44" class="py-name"><a title="pygccxml.parser.project_reader.file_configuration_t.data" class="py-name" href="#" onclick="return doclink('link-44', 'data', 'link-37');">data</a></tt> </tt>
</div><a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.__eq__"></a><div id="declaration_t.__eq__-def"><a name="L113"></a><tt class="py-lineno">113</tt> <a class="py-toggle" href="#" id="declaration_t.__eq__-toggle" onclick="return toggle('declaration_t.__eq__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__eq__">__eq__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__eq__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__eq__-expanded"><a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"><tt class="py-docstring">        function will return true, if both declarations refers to the same object.</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"><tt class="py-docstring">        This function could be implemented in terms of _get__cmp__data, but in</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"><tt class="py-docstring">        this case it will downgrade performance. self.mangled property is not</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"><tt class="py-docstring">        compared, because it could be chaned from one compilation time to an</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt class="py-docstring">        other.</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">False</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-45', 'name', 'link-23');">name</a></tt> <tt class="py-op">==</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-46', 'name', 'link-23');">name</a></tt> \ </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">               <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.location
pygccxml.msvc.bsc.definition_t.location
pygccxml.msvc.bsc_impl_details.definition_t.location" class="py-name" href="#" onclick="return doclink('link-47', 'location', 'link-24');">location</a></tt> <tt class="py-op">==</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.location
pygccxml.msvc.bsc.definition_t.location
pygccxml.msvc.bsc_impl_details.definition_t.location" class="py-name" href="#" onclick="return doclink('link-48', 'location', 'link-24');">location</a></tt> \ </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">               <tt class="py-keyword">and</tt> <tt id="link-49" class="py-name"><a title="pygccxml.declarations.algorithm" class="py-name" href="#" onclick="return doclink('link-49', 'algorithm', 'link-0');">algorithm</a></tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="pygccxml.declarations.algorithm.declaration_path
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.declaration_path" class="py-name" href="#" onclick="return doclink('link-50', 'declaration_path', 'link-39');">declaration_path</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-51', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">)</tt> \ </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">                   <tt class="py-op">==</tt> <tt id="link-52" class="py-name"><a title="pygccxml.declarations.algorithm" class="py-name" href="#" onclick="return doclink('link-52', 'algorithm', 'link-0');">algorithm</a></tt><tt class="py-op">.</tt><tt id="link-53" class="py-name"><a title="pygccxml.declarations.algorithm.declaration_path
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.declaration_path" class="py-name" href="#" onclick="return doclink('link-53', 'declaration_path', 'link-39');">declaration_path</a></tt><tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-54', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">)</tt> </tt>
</div><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.__ne__"></a><div id="declaration_t.__ne__-def"><a name="L128"></a><tt class="py-lineno">128</tt> <a class="py-toggle" href="#" id="declaration_t.__ne__-toggle" onclick="return toggle('declaration_t.__ne__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__ne__">__ne__</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__ne__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__ne__-expanded"><a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-docstring">"""return not self.__eq__( other )"""</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="pygccxml.declarations.calldef.argument_t.__eq__
pygccxml.declarations.calldef.calldef_t.__eq__
pygccxml.declarations.calldef.member_calldef_t.__eq__
pygccxml.declarations.class_declaration.class_t.__eq__
pygccxml.declarations.class_declaration.hierarchy_info_t.__eq__
pygccxml.declarations.cpptypes.type_qualifiers_t.__eq__
pygccxml.declarations.cpptypes.type_t.__eq__
pygccxml.declarations.declaration.declaration_t.__eq__
pygccxml.declarations.declaration.location_t.__eq__
pygccxml.declarations.enumeration.enumeration_t.__eq__
pygccxml.declarations.scopedef.scopedef_t.__eq__
pygccxml.declarations.typedef.typedef_t.__eq__
pygccxml.declarations.variable.variable_t.__eq__" class="py-name" href="#" onclick="return doclink('link-55', '__eq__', 'link-9');">__eq__</a></tt><tt class="py-op">(</tt> <tt class="py-name">other</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.__lt__"></a><div id="declaration_t.__lt__-def"><a name="L132"></a><tt class="py-lineno">132</tt> <a class="py-toggle" href="#" id="declaration_t.__lt__-toggle" onclick="return toggle('declaration_t.__lt__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__lt__">__lt__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">other</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__lt__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__lt__-expanded"><a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"><tt class="py-docstring">        C{if not isinstance( other, self.__class__ ):}</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line"><tt class="py-docstring">        C{    return self.__class__.__name__ &lt; other.__class__.__name__}</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"><tt class="py-docstring">        C{return self._get__cmp__data() &lt; other._get__cmp__data()}</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt> <tt class="py-name">other</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt class="py-name">__class__</tt><tt class="py-op">.</tt><tt class="py-name">__name__</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get__cmp__data</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">other</tt><tt class="py-op">.</tt><tt class="py-name">_get__cmp__data</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_name_impl"></a><div id="declaration_t._get_name_impl-def"><a name="L142"></a><tt class="py-lineno">142</tt> <a class="py-toggle" href="#" id="declaration_t._get_name_impl-toggle" onclick="return toggle('declaration_t._get_name_impl');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_name_impl">_get_name_impl</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_name_impl-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_name_impl-expanded"><a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> </tt>
</div><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_name"></a><div id="declaration_t._get_name-def"><a name="L145"></a><tt class="py-lineno">145</tt> <a class="py-toggle" href="#" id="declaration_t._get_name-toggle" onclick="return toggle('declaration_t._get_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_name">_get_name</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_name-expanded"><a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_name_impl</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._on_rename"></a><div id="declaration_t._on_rename-def"><a name="L148"></a><tt class="py-lineno">148</tt> <a class="py-toggle" href="#" id="declaration_t._on_rename-toggle" onclick="return toggle('declaration_t._on_rename');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_on_rename">_on_rename</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._on_rename-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._on_rename-expanded"><a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._set_name"></a><div id="declaration_t._set_name-def"><a name="L151"></a><tt class="py-lineno">151</tt> <a class="py-toggle" href="#" id="declaration_t._set_name-toggle" onclick="return toggle('declaration_t._set_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_name">_set_name</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_name</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_name-expanded"><a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-name">previous_name</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_name</tt> <tt class="py-op">=</tt> <tt class="py-name">new_name</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_partial_name</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.cache=pygccxml.declarations.declaration.declaration_t-class.html#cache"><a title="pygccxml.declarations.declaration.declaration_t.cache" class="py-name" href="#" onclick="return doclink('link-56', 'cache', 'link-56');">cache</a></tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Method pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.reset_name_based()=pygccxml.declarations.algorithms_cache.declaration_algs_cache_t-class.html#reset_name_based"><a title="pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.reset_name_based" class="py-name" href="#" onclick="return doclink('link-57', 'reset_name_based', 'link-57');">reset_name_based</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">previous_name</tt><tt class="py-op">:</tt> <tt class="py-comment">#the was a rename and not initial "set"</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_on_rename</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line">    <tt id="link-58" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-58', 'name', 'link-23');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-59" class="py-name" targets="Method pygccxml.declarations.calldef.argument_t._get_name()=pygccxml.declarations.calldef.argument_t-class.html#_get_name,Method pygccxml.declarations.declaration.declaration_t._get_name()=pygccxml.declarations.declaration.declaration_t-class.html#_get_name,Method pygccxml.declarations.matchers.declaration_matcher_t._get_name()=pygccxml.declarations.matchers.declaration_matcher_t-class.html#_get_name"><a title="pygccxml.declarations.calldef.argument_t._get_name
pygccxml.declarations.declaration.declaration_t._get_name
pygccxml.declarations.matchers.declaration_matcher_t._get_name" class="py-name" href="#" onclick="return doclink('link-59', '_get_name', 'link-59');">_get_name</a></tt><tt class="py-op">,</tt> <tt id="link-60" class="py-name" targets="Method pygccxml.declarations.calldef.argument_t._set_name()=pygccxml.declarations.calldef.argument_t-class.html#_set_name,Method pygccxml.declarations.declaration.declaration_t._set_name()=pygccxml.declarations.declaration.declaration_t-class.html#_set_name,Method pygccxml.declarations.matchers.declaration_matcher_t._set_name()=pygccxml.declarations.matchers.declaration_matcher_t-class.html#_set_name"><a title="pygccxml.declarations.calldef.argument_t._set_name
pygccxml.declarations.declaration.declaration_t._set_name
pygccxml.declarations.matchers.declaration_matcher_t._set_name" class="py-name" href="#" onclick="return doclink('link-60', '_set_name', 'link-60');">_set_name</a></tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">                     <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Declaration name</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"><tt class="py-string">                     @type: str</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"><tt class="py-string">                     """</tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_partial_name_impl"></a><div id="declaration_t._get_partial_name_impl-def"><a name="L164"></a><tt class="py-lineno">164</tt> <a class="py-toggle" href="#" id="declaration_t._get_partial_name_impl-toggle" onclick="return toggle('declaration_t._get_partial_name_impl');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_partial_name_impl">_get_partial_name_impl</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_partial_name_impl-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_partial_name_impl-expanded"><a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="pygccxml.declarations.call_invocation.name
pygccxml.declarations.calldef.argument_t.name
pygccxml.declarations.container_traits.container_traits_impl_t.name
pygccxml.declarations.declaration.declaration_t.name
pygccxml.declarations.matchers.declaration_matcher_t.name
pygccxml.declarations.pattern_parser.parser_t.name
pygccxml.declarations.templates.name
pygccxml.msvc.bsc.instance_t.name
pygccxml.msvc.bsc_impl_details.instance_t.name
pygccxml.msvc.pdb.impl_details.full_name_splitter_t.name
pygccxml.msvc.pdb.impl_details.name" class="py-name" href="#" onclick="return doclink('link-61', 'name', 'link-23');">name</a></tt> </tt>
</div><a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">     </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="declaration_t.partial_name"></a><div id="declaration_t.partial_name-def"><a name="L168"></a><tt class="py-lineno">168</tt> <a class="py-toggle" href="#" id="declaration_t.partial_name-toggle" onclick="return toggle('declaration_t.partial_name');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#partial_name">partial_name</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.partial_name-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.partial_name-expanded"><a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">        <tt class="py-docstring">"""declaration name, without template default arguments        </tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line"><tt class="py-docstring">        Right now std containers is the only classes that support this functionality"""</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">None</tt> <tt class="py-keyword">is</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_partial_name</tt><tt class="py-op">:</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_partial_name</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_partial_name_impl</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_partial_name</tt> </tt>
</div><a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_parent"></a><div id="declaration_t._get_parent-def"><a name="L175"></a><tt class="py-lineno">175</tt> <a class="py-toggle" href="#" id="declaration_t._get_parent-toggle" onclick="return toggle('declaration_t._get_parent');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_parent">_get_parent</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_parent-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_parent-expanded"><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_parent</tt> </tt>
</div><a name="declaration_t._set_parent"></a><div id="declaration_t._set_parent-def"><a name="L177"></a><tt class="py-lineno">177</tt> <a class="py-toggle" href="#" id="declaration_t._set_parent-toggle" onclick="return toggle('declaration_t._set_parent');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_parent">_set_parent</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_parent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_parent-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_parent-expanded"><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">new_parent</tt><tt class="py-op">:</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">            <tt class="py-keyword">assert</tt><tt class="py-op">(</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt> <tt class="py-name">new_parent</tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name" targets="Class pygccxml.declarations.declaration.declaration_t=pygccxml.declarations.declaration.declaration_t-class.html"><a title="pygccxml.declarations.declaration.declaration_t" class="py-name" href="#" onclick="return doclink('link-62', 'declaration_t', 'link-62');">declaration_t</a></tt> <tt class="py-op">)</tt> <tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_parent</tt> <tt class="py-op">=</tt> <tt class="py-name">new_parent</tt> </tt>
</div><a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">    <tt id="link-63" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-63', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-64" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_parent()=pygccxml.declarations.declaration.declaration_t-class.html#_get_parent"><a title="pygccxml.declarations.declaration.declaration_t._get_parent" class="py-name" href="#" onclick="return doclink('link-64', '_get_parent', 'link-64');">_get_parent</a></tt><tt class="py-op">,</tt> <tt id="link-65" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_parent()=pygccxml.declarations.declaration.declaration_t-class.html#_set_parent"><a title="pygccxml.declarations.declaration.declaration_t._set_parent" class="py-name" href="#" onclick="return doclink('link-65', '_set_parent', 'link-65');">_set_parent</a></tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">                       <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Reference to parent declaration</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"><tt class="py-string">                       @type: declaration_t</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line"><tt class="py-string">                       """</tt><tt class="py-op">)</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.__get_top_parent"></a><div id="declaration_t.__get_top_parent-def"><a name="L186"></a><tt class="py-lineno">186</tt> <a class="py-toggle" href="#" id="declaration_t.__get_top_parent-toggle" onclick="return toggle('declaration_t.__get_top_parent');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#__get_top_parent">__get_top_parent</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.__get_top_parent-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.__get_top_parent-expanded"><a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">        <tt id="link-66" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-66', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-67', 'parent', 'link-40');">parent</a></tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">        <tt class="py-name">me</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-keyword">while</tt> <tt class="py-name">True</tt><tt class="py-op">:</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-68" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-68', 'parent', 'link-40');">parent</a></tt><tt class="py-op">:</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">me</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">                <tt class="py-name">me</tt> <tt class="py-op">=</tt> <tt id="link-69" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-69', 'parent', 'link-40');">parent</a></tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">                <tt id="link-70" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-70', 'parent', 'link-40');">parent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">me</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.parent" class="py-name" href="#" onclick="return doclink('link-71', 'parent', 'link-40');">parent</a></tt> </tt>
</div><a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">    <tt id="link-72" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.top_parent=pygccxml.declarations.declaration.declaration_t-class.html#top_parent"><a title="pygccxml.declarations.declaration.declaration_t.top_parent" class="py-name" href="#" onclick="return doclink('link-72', 'top_parent', 'link-72');">top_parent</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-73" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t.__get_top_parent()=pygccxml.declarations.declaration.declaration_t-class.html#__get_top_parent"><a title="pygccxml.declarations.declaration.declaration_t.__get_top_parent" class="py-name" href="#" onclick="return doclink('link-73', '__get_top_parent', 'link-73');">__get_top_parent</a></tt><tt class="py-op">,</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">                           <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""reference to top parent declaration</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"><tt class="py-string">                           @type: declaration_t</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line"><tt class="py-string">                           """</tt> <tt class="py-op">)</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_location"></a><div id="declaration_t._get_location-def"><a name="L200"></a><tt class="py-lineno">200</tt> <a class="py-toggle" href="#" id="declaration_t._get_location-toggle" onclick="return toggle('declaration_t._get_location');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_location">_get_location</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_location-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_location-expanded"><a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_location</tt> </tt>
</div><a name="declaration_t._set_location"></a><div id="declaration_t._set_location-def"><a name="L202"></a><tt class="py-lineno">202</tt> <a class="py-toggle" href="#" id="declaration_t._set_location-toggle" onclick="return toggle('declaration_t._set_location');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_location">_set_location</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_location</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_location-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_location-expanded"><a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_location</tt> <tt class="py-op">=</tt> <tt class="py-name">new_location</tt> </tt>
</div><a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">    <tt id="link-74" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.location
pygccxml.msvc.bsc.definition_t.location
pygccxml.msvc.bsc_impl_details.definition_t.location" class="py-name" href="#" onclick="return doclink('link-74', 'location', 'link-24');">location</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-75" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_location()=pygccxml.declarations.declaration.declaration_t-class.html#_get_location"><a title="pygccxml.declarations.declaration.declaration_t._get_location" class="py-name" href="#" onclick="return doclink('link-75', '_get_location', 'link-75');">_get_location</a></tt><tt class="py-op">,</tt> <tt id="link-76" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_location()=pygccxml.declarations.declaration.declaration_t-class.html#_set_location"><a title="pygccxml.declarations.declaration.declaration_t._set_location" class="py-name" href="#" onclick="return doclink('link-76', '_set_location', 'link-76');">_set_location</a></tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">                        <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Location of the declaration within source file</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line"><tt class="py-string">                        @type: L{location_t}</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line"><tt class="py-string">                        """</tt><tt class="py-op">)</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_is_artificial"></a><div id="declaration_t._get_is_artificial-def"><a name="L209"></a><tt class="py-lineno">209</tt> <a class="py-toggle" href="#" id="declaration_t._get_is_artificial-toggle" onclick="return toggle('declaration_t._get_is_artificial');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_is_artificial">_get_is_artificial</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_is_artificial-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_is_artificial-expanded"><a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_is_artificial</tt> </tt>
</div><a name="declaration_t._set_is_artificial"></a><div id="declaration_t._set_is_artificial-def"><a name="L211"></a><tt class="py-lineno">211</tt> <a class="py-toggle" href="#" id="declaration_t._set_is_artificial-toggle" onclick="return toggle('declaration_t._set_is_artificial');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_is_artificial">_set_is_artificial</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">new_artificial</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_is_artificial-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_is_artificial-expanded"><a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_is_artificial</tt> <tt class="py-op">=</tt> <tt class="py-name">new_artificial</tt> </tt>
</div><a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">    <tt id="link-77" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.is_artificial" class="py-name" href="#" onclick="return doclink('link-77', 'is_artificial', 'link-25');">is_artificial</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-78" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_is_artificial()=pygccxml.declarations.declaration.declaration_t-class.html#_get_is_artificial"><a title="pygccxml.declarations.declaration.declaration_t._get_is_artificial" class="py-name" href="#" onclick="return doclink('link-78', '_get_is_artificial', 'link-78');">_get_is_artificial</a></tt><tt class="py-op">,</tt> <tt id="link-79" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_is_artificial()=pygccxml.declarations.declaration.declaration_t-class.html#_set_is_artificial"><a title="pygccxml.declarations.declaration.declaration_t._set_is_artificial" class="py-name" href="#" onclick="return doclink('link-79', '_set_is_artificial', 'link-79');">_set_is_artificial</a></tt> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">                              <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Describes whether declaration is compiler generated or not</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line"><tt class="py-string">                              @type: bool</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line"><tt class="py-string">                              """</tt><tt class="py-op">)</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_mangled"></a><div id="declaration_t._get_mangled-def"><a name="L218"></a><tt class="py-lineno">218</tt> <a class="py-toggle" href="#" id="declaration_t._get_mangled-toggle" onclick="return toggle('declaration_t._get_mangled');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_mangled">_get_mangled</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_mangled-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_mangled-expanded"><a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mangled</tt> </tt>
</div><a name="declaration_t._set_mangled"></a><div id="declaration_t._set_mangled-def"><a name="L220"></a><tt class="py-lineno">220</tt> <a class="py-toggle" href="#" id="declaration_t._set_mangled-toggle" onclick="return toggle('declaration_t._set_mangled');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_mangled">_set_mangled</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">mangled</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_mangled-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_mangled-expanded"><a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_mangled</tt> <tt class="py-op">=</tt> <tt id="link-80" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.mangled" class="py-name" href="#" onclick="return doclink('link-80', 'mangled', 'link-26');">mangled</a></tt> </tt>
</div><a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">    <tt id="link-81" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.mangled" class="py-name" href="#" onclick="return doclink('link-81', 'mangled', 'link-26');">mangled</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-82" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_mangled()=pygccxml.declarations.declaration.declaration_t-class.html#_get_mangled"><a title="pygccxml.declarations.declaration.declaration_t._get_mangled" class="py-name" href="#" onclick="return doclink('link-82', '_get_mangled', 'link-82');">_get_mangled</a></tt><tt class="py-op">,</tt> <tt id="link-83" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_mangled()=pygccxml.declarations.declaration.declaration_t-class.html#_set_mangled"><a title="pygccxml.declarations.declaration.declaration_t._set_mangled" class="py-name" href="#" onclick="return doclink('link-83', '_set_mangled', 'link-83');">_set_mangled</a></tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">                        <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Compiler generated declaration name</tt> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line"><tt class="py-string">                        @type: str</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line"><tt class="py-string">                        """</tt> <tt class="py-op">)</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_demangled"></a><div id="declaration_t._get_demangled-def"><a name="L227"></a><tt class="py-lineno">227</tt> <a class="py-toggle" href="#" id="declaration_t._get_demangled-toggle" onclick="return toggle('declaration_t._get_demangled');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_demangled">_get_demangled</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_demangled-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_demangled-expanded"><a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_demangled</tt> </tt>
</div><a name="declaration_t._set_demangled"></a><div id="declaration_t._set_demangled-def"><a name="L229"></a><tt class="py-lineno">229</tt> <a class="py-toggle" href="#" id="declaration_t._set_demangled-toggle" onclick="return toggle('declaration_t._set_demangled');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_demangled">_set_demangled</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">demangled</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_demangled-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_demangled-expanded"><a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_demangled</tt> <tt class="py-op">=</tt> <tt id="link-84" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.demangled" class="py-name" href="#" onclick="return doclink('link-84', 'demangled', 'link-27');">demangled</a></tt> </tt>
</div><a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">    <tt id="link-85" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.demangled" class="py-name" href="#" onclick="return doclink('link-85', 'demangled', 'link-27');">demangled</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-86" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_demangled()=pygccxml.declarations.declaration.declaration_t-class.html#_get_demangled"><a title="pygccxml.declarations.declaration.declaration_t._get_demangled" class="py-name" href="#" onclick="return doclink('link-86', '_get_demangled', 'link-86');">_get_demangled</a></tt><tt class="py-op">,</tt> <tt id="link-87" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_demangled()=pygccxml.declarations.declaration.declaration_t-class.html#_set_demangled"><a title="pygccxml.declarations.declaration.declaration_t._set_demangled" class="py-name" href="#" onclick="return doclink('link-87', '_set_demangled', 'link-87');">_set_demangled</a></tt> </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line">                        <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""Demangled compiler generated declaration name</tt> </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line"><tt class="py-string">                        @type: str</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line"><tt class="py-string">                        """</tt> <tt class="py-op">)</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_attributes"></a><div id="declaration_t._get_attributes-def"><a name="L236"></a><tt class="py-lineno">236</tt> <a class="py-toggle" href="#" id="declaration_t._get_attributes-toggle" onclick="return toggle('declaration_t._get_attributes');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_attributes">_get_attributes</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_attributes-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_attributes-expanded"><a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attributes</tt> </tt>
</div><a name="declaration_t._set_attributes"></a><div id="declaration_t._set_attributes-def"><a name="L238"></a><tt class="py-lineno">238</tt> <a class="py-toggle" href="#" id="declaration_t._set_attributes-toggle" onclick="return toggle('declaration_t._set_attributes');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_attributes">_set_attributes</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">attributes</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_attributes-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_attributes-expanded"><a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_attributes</tt> <tt class="py-op">=</tt> <tt id="link-88" class="py-name"><a title="pygccxml.declarations.calldef.argument_t.attributes
pygccxml.declarations.declaration.declaration_t.attributes" class="py-name" href="#" onclick="return doclink('link-88', 'attributes', 'link-28');">attributes</a></tt> </tt>
</div><a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">    <tt id="link-89" class="py-name"><a title="pygccxml.declarations.calldef.argument_t.attributes
pygccxml.declarations.declaration.declaration_t.attributes" class="py-name" href="#" onclick="return doclink('link-89', 'attributes', 'link-28');">attributes</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-90" class="py-name" targets="Method pygccxml.declarations.calldef.argument_t._get_attributes()=pygccxml.declarations.calldef.argument_t-class.html#_get_attributes,Method pygccxml.declarations.declaration.declaration_t._get_attributes()=pygccxml.declarations.declaration.declaration_t-class.html#_get_attributes"><a title="pygccxml.declarations.calldef.argument_t._get_attributes
pygccxml.declarations.declaration.declaration_t._get_attributes" class="py-name" href="#" onclick="return doclink('link-90', '_get_attributes', 'link-90');">_get_attributes</a></tt><tt class="py-op">,</tt> <tt id="link-91" class="py-name" targets="Method pygccxml.declarations.calldef.argument_t._set_attributes()=pygccxml.declarations.calldef.argument_t-class.html#_set_attributes,Method pygccxml.declarations.declaration.declaration_t._set_attributes()=pygccxml.declarations.declaration.declaration_t-class.html#_set_attributes"><a title="pygccxml.declarations.calldef.argument_t._set_attributes
pygccxml.declarations.declaration.declaration_t._set_attributes" class="py-name" href="#" onclick="return doclink('link-91', '_set_attributes', 'link-91');">_set_attributes</a></tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">                        <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""GCCXML attributes, set using __attribute__((gccxml("...")))</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line"><tt class="py-string">                        @type: str</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line"><tt class="py-string">                        """</tt> <tt class="py-op">)</tt> </tt>
<a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.create_decl_string"></a><div id="declaration_t.create_decl_string-def"><a name="L245"></a><tt class="py-lineno">245</tt> <a class="py-toggle" href="#" id="declaration_t.create_decl_string-toggle" onclick="return toggle('declaration_t.create_decl_string');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#create_decl_string">create_decl_string</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">with_defaults</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.create_decl_string-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.create_decl_string-expanded"><a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-92" class="py-name"><a title="pygccxml.declarations.algorithm" class="py-name" href="#" onclick="return doclink('link-92', 'algorithm', 'link-0');">algorithm</a></tt><tt class="py-op">.</tt><tt id="link-93" class="py-name" targets="Function pygccxml.declarations.algorithm.full_name()=pygccxml.declarations.algorithm-module.html#full_name,Variable pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name=pygccxml.declarations.algorithms_cache.declaration_algs_cache_t-class.html#full_name"><a title="pygccxml.declarations.algorithm.full_name
pygccxml.declarations.algorithms_cache.declaration_algs_cache_t.full_name" class="py-name" href="#" onclick="return doclink('link-93', 'full_name', 'link-93');">full_name</a></tt><tt class="py-op">(</tt> <tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">with_defaults</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line"> </tt>
<a name="L248"></a><tt class="py-lineno">248</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="declaration_t.decl_string"></a><div id="declaration_t.decl_string-def"><a name="L249"></a><tt class="py-lineno">249</tt> <a class="py-toggle" href="#" id="declaration_t.decl_string-toggle" onclick="return toggle('declaration_t.decl_string');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#decl_string">decl_string</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.decl_string-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.decl_string-expanded"><a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">        <tt class="py-docstring">"""declaration full name"""</tt> </tt>
<a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name" targets="Method pygccxml.declarations.calldef.free_calldef_t.create_decl_string()=pygccxml.declarations.calldef.free_calldef_t-class.html#create_decl_string,Method pygccxml.declarations.calldef.member_calldef_t.create_decl_string()=pygccxml.declarations.calldef.member_calldef_t-class.html#create_decl_string,Static Method pygccxml.declarations.cpptypes.free_function_type_t.create_decl_string()=pygccxml.declarations.cpptypes.free_function_type_t-class.html#create_decl_string,Static Method pygccxml.declarations.cpptypes.member_function_type_t.create_decl_string()=pygccxml.declarations.cpptypes.member_function_type_t-class.html#create_decl_string,Method pygccxml.declarations.declaration.declaration_t.create_decl_string()=pygccxml.declarations.declaration.declaration_t-class.html#create_decl_string"><a title="pygccxml.declarations.calldef.free_calldef_t.create_decl_string
pygccxml.declarations.calldef.member_calldef_t.create_decl_string
pygccxml.declarations.cpptypes.free_function_type_t.create_decl_string
pygccxml.declarations.cpptypes.member_function_type_t.create_decl_string
pygccxml.declarations.declaration.declaration_t.create_decl_string" class="py-name" href="#" onclick="return doclink('link-94', 'create_decl_string', 'link-94');">create_decl_string</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line"> </tt>
<a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="declaration_t.partial_decl_string"></a><div id="declaration_t.partial_decl_string-def"><a name="L254"></a><tt class="py-lineno">254</tt> <a class="py-toggle" href="#" id="declaration_t.partial_decl_string-toggle" onclick="return toggle('declaration_t.partial_decl_string');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#partial_decl_string">partial_decl_string</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.partial_decl_string-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.partial_decl_string-expanded"><a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line">        <tt class="py-docstring">"""declaration full name"""</tt> </tt>
<a name="L256"></a><tt class="py-lineno">256</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="pygccxml.declarations.calldef.free_calldef_t.create_decl_string
pygccxml.declarations.calldef.member_calldef_t.create_decl_string
pygccxml.declarations.cpptypes.free_function_type_t.create_decl_string
pygccxml.declarations.cpptypes.member_function_type_t.create_decl_string
pygccxml.declarations.declaration.declaration_t.create_decl_string" class="py-name" href="#" onclick="return doclink('link-95', 'create_decl_string', 'link-94');">create_decl_string</a></tt><tt class="py-op">(</tt><tt class="py-name">with_defaults</tt><tt class="py-op">=</tt><tt class="py-name">False</tt><tt class="py-op">)</tt> </tt>
</div><a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line"> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="declaration_t.cache"></a><div id="declaration_t.cache-def"><a name="L259"></a><tt class="py-lineno">259</tt> <a class="py-toggle" href="#" id="declaration_t.cache-toggle" onclick="return toggle('declaration_t.cache');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#cache">cache</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.cache-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.cache-expanded"><a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line">        <tt class="py-docstring">"""implementation details</tt> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line"><tt class="py-docstring">        reference to instance of L{algorithms_cache.algorithms_cache_t} class.</tt> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cache</tt> </tt>
</div><a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line"> </tt>
<a name="declaration_t.i_depend_on_them"></a><div id="declaration_t.i_depend_on_them-def"><a name="L266"></a><tt class="py-lineno">266</tt> <a class="py-toggle" href="#" id="declaration_t.i_depend_on_them-toggle" onclick="return toggle('declaration_t.i_depend_on_them');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#i_depend_on_them">i_depend_on_them</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">recursive</tt><tt class="py-op">=</tt><tt class="py-name">True</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t.i_depend_on_them-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t.i_depend_on_them-expanded"><a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line">        <tt class="py-docstring">"""return list of all types and declarations the declaration depends on"""</tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-name">self</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line">        <tt class="py-keyword">raise</tt> <tt class="py-name">NotImplementedError</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line"> </tt>
<a name="declaration_t._get_compiler"></a><div id="declaration_t._get_compiler-def"><a name="L271"></a><tt class="py-lineno">271</tt> <a class="py-toggle" href="#" id="declaration_t._get_compiler-toggle" onclick="return toggle('declaration_t._get_compiler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_get_compiler">_get_compiler</a><tt class="py-op">(</tt> <tt class="py-param">self</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._get_compiler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._get_compiler-expanded"><a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_compiler</tt> </tt>
</div><a name="declaration_t._set_compiler"></a><div id="declaration_t._set_compiler-def"><a name="L273"></a><tt class="py-lineno">273</tt> <a class="py-toggle" href="#" id="declaration_t._set_compiler-toggle" onclick="return toggle('declaration_t._set_compiler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pygccxml.declarations.declaration.declaration_t-class.html#_set_compiler">_set_compiler</a><tt class="py-op">(</tt> <tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">compiler</tt> <tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="declaration_t._set_compiler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="declaration_t._set_compiler-expanded"><a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_compiler</tt> <tt class="py-op">=</tt> <tt id="link-96" class="py-name" targets="Variable pygccxml.declarations.declaration.declaration_t.compiler=pygccxml.declarations.declaration.declaration_t-class.html#compiler,Variable pygccxml.parser.config.parser_configuration_t.compiler=pygccxml.parser.config.parser_configuration_t-class.html#compiler"><a title="pygccxml.declarations.declaration.declaration_t.compiler
pygccxml.parser.config.parser_configuration_t.compiler" class="py-name" href="#" onclick="return doclink('link-96', 'compiler', 'link-96');">compiler</a></tt> </tt>
</div><a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">    <tt id="link-97" class="py-name"><a title="pygccxml.declarations.declaration.declaration_t.compiler
pygccxml.parser.config.parser_configuration_t.compiler" class="py-name" href="#" onclick="return doclink('link-97', 'compiler', 'link-96');">compiler</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt> <tt id="link-98" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._get_compiler()=pygccxml.declarations.declaration.declaration_t-class.html#_get_compiler"><a title="pygccxml.declarations.declaration.declaration_t._get_compiler" class="py-name" href="#" onclick="return doclink('link-98', '_get_compiler', 'link-98');">_get_compiler</a></tt><tt class="py-op">,</tt> <tt id="link-99" class="py-name" targets="Method pygccxml.declarations.declaration.declaration_t._set_compiler()=pygccxml.declarations.declaration.declaration_t-class.html#_set_compiler"><a title="pygccxml.declarations.declaration.declaration_t._set_compiler" class="py-name" href="#" onclick="return doclink('link-99', '_set_compiler', 'link-99');">_set_compiler</a></tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line">                        <tt class="py-op">,</tt> <tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"""compiler name + version</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line"><tt class="py-string">                        @type: str"""</tt> <tt class="py-op">)</tt> </tt>
</div><a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pygccxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://www.language-binding.net">pygccxml</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Mon Oct 20 09:00:34 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
